FROM node:20-alpine3.20
WORKDIR /servers
COPY . .
ENV TZ=Asia/Shanghai
RUN npm config set registry=https://registry.npmmirror.com
RUN npm i -g pnpm@9.14.3 && pnpm i && pnpm run build
EXPOSE 3343
CMD pnpm start:docker
